package com.google.code.irouter.portal.client.dashboard;

import com.google.code.irouter.portal.client.dashboard.main.Center;
import com.google.code.irouter.portal.client.dashboard.main.North;
import com.gwtext.client.core.Margins;
import com.gwtext.client.core.RegionPosition;
import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.layout.BorderLayout;
import com.gwtext.client.widgets.layout.BorderLayoutData;

public final class Main extends Panel {

	

	public Main() {
		super();
		this.setId(Main.class.getName());
		
		BorderLayoutData northLayout = new BorderLayoutData(RegionPosition.NORTH);
		northLayout.setMargins(new Margins(0, 0, 0, 5));
		BorderLayoutData centerLayout = new BorderLayoutData(RegionPosition.CENTER);
		centerLayout.setMargins(0, 0, 0, 0);
		
		this.setLayout(new BorderLayout());
		this.add(new North(), northLayout);
		this.add(new Center(), centerLayout);		
	}
	
	
}